package cn.arikeky.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BuyDto {

    @NotNull
    private Long id;

    @NotNull
    private Integer count;

    private BigDecimal price;
}
